package com.csu.mall.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csu.mall.product.entity.ProductAttrValueEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductAttrValueDao extends BaseMapper<ProductAttrValueEntity> {
    void batchInsert(List<ProductAttrValueEntity> productAttrValueEntities);

    void deleteBySpuId(@Param("spuId") Long spuId);
}
